package cn.cs.mapper;

import cn.cs.pojo.ComplaintTitle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ComplaintTitleMapper {

    public ComplaintTitle getComplaintTitleById(@Param(value = "id") String id) throws Exception;

    public List<ComplaintTitle> getComplaintTitleListByMap(Map<String, Object> param) throws Exception;

    public Integer getComplaintTitleCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertComplaintTitle(ComplaintTitle complaintTitle) throws Exception;

    public Integer updateComplaintTitle(ComplaintTitle complaintTitle) throws Exception;

    public Integer deleteComplaintTitleById(@Param(value = "id") String id) throws Exception;

}
